import Vue from 'vue'
import Vuetify from 'vuetify/lib/framework'
import i18n from '@/i18n/i18'

import zhHans from 'vuetify/lib/locale/zh-Hans'
import en from 'vuetify/lib/locale/en'

// import dashboard from '@/icons/svg/dashboard.svg'

Vue.use(Vuetify)
// console.log(i18n)

export default new Vuetify({
  // i18n,
  lang: {
    locales: { zhHans, en },
    current: 'zhHans',
    // 翻译指令
    t: (key, ...params) => i18n.t(key, params)
  }
  // icons: {
  //   values: {
  //     dashboard: dashboard
  //   }
  // }
})
